package com.cmc.cloud.cmclink.doc.entity;

import lombok.*;

import java.time.LocalDateTime;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.*;
import com.cmes.framework.mybatis.core.dataobject.BaseDO;

/**
 * Class-based Allocation分类舱位 DO
 *
 * @author 集运管理员
 */
@TableName("doc_voyage_bsa_cba")
@KeySequence("doc_voyage_bsa_cba_seq")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class VoyageBsaCbaDO extends BaseDO {

    /**
     * 主键
     */
    @TableId
    private Long id;
    /**
     * 舱位主信息id
     */
    private Long voyageBsaId;
    /**
     * 舱位类型代码
     */
    private String spaceTypeCode;
    /**
     * 舱位说明
     */
    private String spaceIntruction;
    /**
     * 分配舱位(teu)
     */
    private Integer allocationSpace;

    /**
     * 剩余舱位(teu)
     */
    private Integer remainAllocationSpace;

    /**
     * 冷插数
     */
    private Integer rfUnit;

    /**
     * 剩余冷插数
     */
    private Integer remainRfUnit;

    /**
     * open 仓位数量限制
     */
    private Integer perCustomerLimit;

}
